package com.gxa.user.recycling.service;

import com.gxa.core.recycling.exception.BusinessException;
import com.gxa.core.recycling.pojo.User;
import com.gxa.core.recycling.service.BaseService;
import com.gxa.user.recycling.mapper.UsersMapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UsersService extends BaseService<User> {
    void update(Long id,String location);
    void uodateName(Long id,String name);
    void updatePhone(Long id,String phone);
    void updateState(Boolean state,Long id);
    long judgeState(Long id);
    void updateState1(Long id);
    Integer keepState(Long id) throws BusinessException;


    List<User> selectLocation(String location) throws BusinessException;
    Map send(Long uid);
    Map haveScore(Long id);



}
